A bass line is a musical part that provides the harmonic foundation and rhythm in a piece of music, typically played by bass instruments such as the bass guitar, double bass, or synthesizers. It often consists of lower-pitched notes that complement the melody and support the overall structure of the composition.